package com.fishery.base.entity.client;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author run 、ghost
 * @since 2021-01-31
 */
@ApiModel(value = "TCustomer对象", description = "")
@TableName("t_customer")
public class Customer implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "Id")
	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;

	@ApiModelProperty(value = "基地编号")
	private String baseId;

	@ApiModelProperty(value = "客户名")
	private String customerName;

	@ApiModelProperty(value = "客户类型(1、个人，2、企业)")
	private Integer customerType;

	@ApiModelProperty(value = "联系人")
	private String contactPerson;

	@ApiModelProperty(value = "联系电话")
	private String phoneNumber;

	@ApiModelProperty(value = "邮箱")
	private String email;

	@ApiModelProperty(value = "收货地址")
	private String receiveAddress;

	@ApiModelProperty(value = "收货地址经度")
	private String addressLongitude;

	@ApiModelProperty(value = "收货地址纬度")
	private String addressLatitude;

	@ApiModelProperty(value = "版本号（乐观锁）", hidden = true)
	@Version
	@TableField(fill = FieldFill.INSERT)
	private Integer version;

	@ApiModelProperty(value = "逻辑删除（0未删除，1删除）", hidden = true)
	@TableLogic
	@TableField(fill = FieldFill.INSERT)
	private Integer isDeleted;

	@ApiModelProperty(value = "创建时间", hidden = true)
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;

	@ApiModelProperty(value = "修改时间", hidden = true)
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date gmtModified;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBaseId() {
		return baseId;
	}

	public void setBaseId(String baseId) {
		this.baseId = baseId;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public Integer getCustomerType() {
		return customerType;
	}

	public void setCustomerType(Integer customerType) {
		this.customerType = customerType;
	}

	public String getContactPerson() {
		return contactPerson;
	}

	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getReceiveAddress() {
		return receiveAddress;
	}

	public void setReceiveAddress(String receiveAddress) {
		this.receiveAddress = receiveAddress;
	}

	public String getAddressLongitude() {
		return addressLongitude;
	}

	public void setAddressLongitude(String addressLongitude) {
		this.addressLongitude = addressLongitude;
	}

	public String getAddressLatitude() {
		return addressLatitude;
	}

	public void setAddressLatitude(String addressLatitude) {
		this.addressLatitude = addressLatitude;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}


}
